<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>add</title>
		<link href="<?php echo base_url();?>public/css/bootstrap.min.css" rel="stylesheet">
		<link href="<?php echo base_url();?>public/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
	  	<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/style/style.css">
</head>
<body>
	<?php include("nav.php");?>
	<div class="container">
		<div class="row">
			<div class="col-md-9 col-md-offset-1">.
				<div class="page-header">
					<h1><?php echo $title;?><small>分类</small></h1>
				</div>		
				<form class="form-horizontal" action="" method="post" enctype="multipart/form-data">
					<div class="form-group">
						<label class="col-sm-2 control-label"><span class="error">*</span>分类</label>
						<div class="col-sm-10">
							
							<input type="text" class="form-control" name="name" value="<?php echo set_value('name',$nav->name);?>"  />
						
							<?php echo form_error('name'); ?>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label"></label>
						<div class="col-sm-10">
							<a href="<?php echo site_url("admin/nav/add");?>"><button type="submit" class="btn btn-success">提交</button></a>
							<a  class="btn btn-success " role="button" href="<?php echo site_url("admin/nav/index");?>">返回</a>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>
